//
//  ZXUILabelExtension.swift
//  ExtensionTest
//
//  Created by ZX on 2025/2/6.
//

import UIKit


public extension UILabel{
    convenience init(_ font: UIFont,_ textColor: UIColor = .black, _ textAlignment: NSTextAlignment = .left, _ text: String = "") {
        self.init()
        self.font = font
        self.textColor = textColor
        self.textAlignment = textAlignment
        self.text = text
    }
}
